package com.msk.sys.service;

import com.msk.sys.domain.BaseInfoAddress;
import com.msk.sys.mapper.BaseInfoAddressDao;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * Created by Administrator on 2020/6/17.
 */
@Service
@Transactional(readOnly = true)
public class BaseInfoAddressService extends CrudService<BaseInfoAddressDao, BaseInfoAddress> {

    @Transactional(readOnly = false)
    public void deletes(String[] ids){
        if(ids.length>0){
            dao.deletes(ids);
        }
    }

}
